home *** CD-ROM | disk | FTP | other *** search
- VIEWER.REXX
- ===========
-
-
- COPYRIGHT NOTICE
- ================
-
- Copyright notice? For what? Use the very few line in viewer.rexx as you want!
-
-
- PURPOSE
- =======
-
- This little arexx example ('program' is a word too big :-) ) is very useful in
- conjunction with ToolManager.
- The script alone get from the command line a file name, and depending on the
- extension of that file perfor an action.
- The file extension is simply the part of the file name after the last '.'. If in
- the file name ther isn't a '.' the the file extension is empty.
- The action is simply a call to a viewer with the file name as an argument. For
- example, whrn the extension is 'JPEG' i run 'fastjpeg'.
- The source is little an simplle, so you can edit it as you want.
- ToolManager come in action when you want to improve your Workbench. You can add
- in a dock an entry for viewer.rexx. In this way you simply drag the icon of the
- file on the image for viewer.rexx, and Toolmanager will run the script with the
- name of the file as an argument. Simply and beautiful!
- Someone can ask me why I don't use one from the mass of programs for this need.
- Simple. I don't want another icon on the Workbench, because I want to use
- ToolManager. So is silly (this is only my opinion) to use an external program
- to make that when I can make it simply via ARexx.
-
-
- BUGS
- ====
-
- This document :-( and my English.
-
-
- HINTS
- =====
-
- Get a copy of ToolManager for all your needs, is old but GREAT!
-
-
- FUTURE
- ======
-
- What future?
-
-
- AUTHOR
- ======
-
- Fabrizio Lodi Via Faruffini 43 20149 Milan Italy
- lodi@ghost.sm.dsi.unimi.it
- http://www.dsi.unimi.it/Users/Students/lodi/home.html
-
-